package com.xiaofeng.pochi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaofeng.pochi.pojo.SysUser;
import com.xiaofeng.pochi.pojo.SysUserRole;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/07/27/20:50
 * @Description:
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    //根据id删除角色
    void deleteByUserId(Long id);

    List<SysUserRole> getByUserId(Long id);
}
